home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / ast_comp / gopher.lha / gopher1.01 / gopherd / wais.h < prev    next >
C/C++ Source or Header  |  1992-05-29  |  1KB  |  66 lines

  1. /* WIDE AREA INFORMATION SERVER SOFTWARE:
  2.    No guarantees or restrictions.  See the readme file for the full standard
  3.    disclaimer.
  4.  
  5.    This is part of the shell user-interface for the WAIS software.  Do with it
  6.    as you please.
  7.  
  8.    jonathan@Think.COM
  9.  
  10.  * $Log:    wais.h,v $
  11.  * Revision 1.6  92/02/15  19:50:24  jonathan
  12.  * Removed old cruft.  Added $Log for RCS
  13.  * 
  14. */
  15.  
  16. #ifndef _H_WAIS
  17. #define _H_WAIS
  18.  
  19. /* usefull definitions */
  20.  
  21. #define STRINGSIZE    256
  22.  
  23. #include <ctype.h>
  24. #include <string.h>
  25. #include <sys/types.h>
  26. #include <sys/stat.h>
  27.  
  28. /* from the IR directory */
  29.  
  30. #include <cutil.h>
  31. #include <ui.h>
  32. #include <irfileio.h>
  33. #include <sockets.h>
  34.  
  35. /* for this application */
  36.  
  37. #include "list.h"
  38. #include "source.h"
  39. #include "document.h"
  40. /*#include "text.h"
  41. #include "qread.h"*/
  42. #include "util.h"
  43. #include "question.h"
  44. #define CHARS_PER_PAGE 2000
  45.  
  46. #ifdef MAIN
  47. #define ext
  48. #else
  49. #define ext extern
  50. #endif
  51.  
  52. ext char* command_name;
  53.  
  54. ext int numtosave;
  55.  
  56. ext int NumQuestions;
  57.  
  58. ext Question the_Question;
  59.  
  60. ext SList Sources;
  61. ext int NumSources;
  62.  
  63. ext int maxDocs;
  64.  
  65. #endif
  66.